package com.ls.springcloud.dao;

import com.ls.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Moro
 * @Date 2021/6/2 15:16
 * @title PaymentDao
 */
@Mapper
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
